<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>input.jsp</title>
<link rel="stylesheet" href="../css/boards.css"/>
<script type="text/javascript" src="../js/boards.js"></script>
</head>
<body>
	<h1>게시판 입력</h1><hr/>
	<form action="index.jsp?inc=../boards/input_result.jsp" name="bfrm" enctype="multipart/form-data" method="post" style="width: 420px;">	
		<fieldset>
			<input type="text" name="mid" placeholder="아이디"/>
			<input type="password" name="pwd" placeholder="비밀번호"/>
		</fieldset>
		<fieldset>
			<select name="category">
				<option>카테고리</option>
				<option value="java">자바</option>
				<option value="jsp">JSP</option>
				<option value="html">HTML</option>
			</select>
			<input type="text" name="subject" placeholder="제목"/>
		</fieldset>
		<fieldset>
			<input type="text" name="attfile_name" placeholder="첨부파일"/>
			<input type="file" name="attfile" value="찾아보기..."/>
		</fieldset>
		<fieldset>
			<textarea name="content" cols="48" rows="10"></textarea>
		</fieldset>
		<fieldset>
			<input type="text" name="tag" placeholder="태그"/>
		</fieldset>
		<fieldset style="text-align: center;">
			<input type="button" id="btnSave" value="저장"/>
			<input type="button" id="btnList" value="목록"/>
		</fieldset>
	</form>
</body>
<script type="text/javascript">inputInit();</script>
</html>